<!DOCTYPE html>
<html lang="en">
<head>
    <title>稻稻工厂—商户自营管理</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="__PUBLIC__css/bootstrap.min.css" />
    <link rel="stylesheet" href="__PUBLIC__css/bootstrap-responsive.min.css" />
    <link rel="stylesheet" href="__PUBLIC__css/colorpicker.css" />
    <link rel="stylesheet" href="__PUBLIC__css/datepicker.css" />
    <link rel="stylesheet" href="__PUBLIC__css/uniform.css" />
    <link rel="stylesheet" href="__PUBLIC__css/select2.css" />
    <link rel="stylesheet" href="__PUBLIC__css/matrix-style.css" />
    <link rel="stylesheet" href="__PUBLIC__css/matrix-media.css" />
    <link rel="stylesheet" href="__PUBLIC__css/bootstrap-wysihtml5.css" />
    <link href="__PUBLIC__font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href='http://fonts.useso.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
</head>

<body>
<!--Header-part-->
<div id="header">
    <h1><a href="dashboard.html">商户自营管理</a></h1>
</div>
<!--close-Header-part-->

<!--top-Header-menu-->
<div id="user-nav" class="navbar navbar-inverse">
    <ul class="nav">
        <li class="dropdown" id="profile-messages" ><a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle"><i class="icon icon-user"></i>  <span class="text">欢迎 {$seller}</span><b class="caret"></b></a></li>
        <li class=""><a title="" href="{:U('Login/sellerLogin')}"><i class="icon icon-cog"></i> <span class="text">商户登录</span></a></li>
        <li class=""><a title="" href="{:U('Login/outSellerLogin')}"><i class="icon icon-share-alt"></i> <span class="text">登出</span></a></li>
    </ul>
</div>
<!--sidebar-menu-->

<!--sidebar-menu-->

<div id="sidebar">
    <a href="#" class="visible-phone"><i class="icon icon-list"></i>Forms</a>
    <ul>
        <li>
            <a href="#"><i class="icon icon-list"></i> <span>商户自营商品</span></a>
        </li>
        <ul>
            <li><a href="{:U('Business/index')}">自营商品列表</a></li>
            <li><a href="{:U('Business/addGoods')}">自营商品添加</a></li>
        </ul>
        <li>
            <a href="#"><i class="icon icon-list"></i> <span>我的订单</span></a>
        </li>
        <ul>
            <li><a href="{:U('Business/myOrder')}">订单列表</a></li>
        </ul>
        <li>
            <a href="#"><i class="icon icon-list"></i> <span>商户信息</span></a>
        </li>
        <ul>
            <li><a href="{:U('Business/basicInfo')}">基本信息修改</a></li>
        </ul>
    </ul>
</div>

<!--close-left-menu-stats-sidebar-->

<div id="content">
    <div class="buttons">
        <div class="modal hide" id="modal-add-event">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>上传图集(可多选图片)</h3>
            </div>

            <form action="" method="post" enctype="multipart/form-data" id="sellerUpMoreImg">
                <div class="modal-body">
                    <p>
                        <input id="fileImage" type="file" size="30" name="files[]" multiple />
                    </p>
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn" data-dismiss="modal">Cancel</a>
                    <input type="submit" id="add-event-submit" class="btn btn-primary" value="上传">
                </div>
            </form>
        </div>
    </div>

    <div class="container-fluid">
    <hr>
    <div class="row-fluid">
      <div class="span12">

        <div class="widget-box">
          <div class="widget-title"><span class="icon">
            <input type="checkbox" id="title-checkbox" name="title-checkbox" />
            </span>
            <h5>Static table with checkboxes</h5>
          </div>
          <div class="widget-content nopadding">
            <table class="table table-bordered table-striped with-check">
                  <thead>
                        <tr>
                            <th><i class="icon-resize-vertical"></i></th>
                            <th>ID</th>
                            <th>编码</th>
                            <th>名称</th>
                            <th>价格</th>
                            <th>日期</th>
                            <th>操作</th>
                        </tr>
                  </thead>

                <volist name="data" id="vo">
                    <tbody>
                        <tr>
                            <td><input type="checkbox" /></td>
                            <td>{$vo.id}</td>
                            <td>{$vo.goods_sn}</td>
                            <td class="center">{$vo.name}</td>
                            <td>{$vo.shop_price}</td>
                            <td>{$vo.addTime_b}</td>
                            <td>
                                <a href="{:U('Business/delGoods',array('id'=>$vo['id']))}" class="btn btn-inverse btn-mini">删除</a>
                                <a href="{:U('Business/updataGoods',array('id'=>$vo['id']))}" class="btn btn-inverse btn-mini">修改</a>
                                <a id="add-event" data-toggle="modal" href="#modal-add-event" class="btn btn-inverse btn-mini" onclick="sellerUpMoreImg('{:U('Business/upMoreImg/',array('id'=>$vo['id']))}')">上传图集</a>
                            </td>
                        </tr>
                    </tbody>
                </volist>
            </table>
          </div>
        </div>
        {$page}
      </div>
    </div>
  </div>
</div>
<script src="__PUBLIC__js/fullcalendar.min.js"></script>
<script src="__PUBLIC__js/matrix.calendar.js"></script>
<script src="__PUBLIC__js/matrix.tables.js"></script>

<!--Footer-part-->
<div class="row-fluid">
    <div id="footer" class="span12"> 2013 &copy; Matrix Admin. More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a> </div>
</div>
<!--end-Footer-part-->

<script src="__PUBLIC__js/jquery.min.js"></script>
<script src="__PUBLIC__js/matrix.form_common.js"></script>
<script src="__PUBLIC__js/jquery.ui.custom.js"></script>
<script src="__PUBLIC__js/bootstrap.min.js"></script>
<script src="__PUBLIC__js/bootstrap-colorpicker.js"></script>
<script src="__PUBLIC__js/bootstrap-datepicker.js"></script>
<script src="__PUBLIC__js/jquery.toggle.buttons.html"></script>
<script src="__PUBLIC__js/masked.js"></script>
<script src="__PUBLIC__js/jquery.uniform.js"></script>
<script src="__PUBLIC__js/select2.min.js"></script>
<script src="__PUBLIC__js/matrix.js"></script>
<script src="__PUBLIC__js/wysihtml5-0.3.0.js"></script>
<script src="__PUBLIC__js/jquery.peity.min.js"></script>
<script src="__PUBLIC__js/bootstrap-wysihtml5.js"></script>
<script src="__PUBLIC__js/jquery.dataTables.min.js"></script>
<script src="__PUBLIC__js/yanGradyJS/yanGrady.js"></script>
<script>
    $('.textarea_editor').wysihtml5();
</script>
</body>
</html>